<script type="text/javascript" >
    stSocialMediaToolbox.load_tooltip();
    stSocialMediaToolbox.on_submitform('#userForm', function(){
        jQuery.prettyPhoto.close();
    });
</script>
<div class="w100p bgl" id="stcontainer" >
    <div class="w100p bgr p5b" id="result">
        
        <form class="stform" id="userForm" action="<?php echo admin_url('/admin.php?page=' . $config['plugin_name'] . '&action=' . $current_action) ?>" method="post" >
            <ul>
                
                <li>
                    <label style="width: 100%;"><h1 style="font:none;"><?php _e('Embedded code', $config['plugin_name']); ?></h1><br />
                    Copy the following code into your webpage where you want the gallery to appear</label>
                  
                        <textarea class="required" name="data[description]" style="width:782px;" rows="5"
                                      id="description" ><iframe src="<?php echo get_bloginfo('url'); ;?>/gallery/?id=<?php echo $id;?>" width="540" frameborder="0" border="0" style="border-width:0px;" >
                                <p>Your browser does not support iframes.</p>
                            </iframe>
                        </textarea>
                    <br clear="both" />
                </li>
            </ul>
        </form>
    </div>
</div>
